package com.meihua.shellapp.utils;

/**
 * 接口连接地址类
 * 作者：lc on 2017/9/29.
 * 邮箱：lc0607live@163.com
 */

public class URL {

    private static URL url;

    private URL() {
    }

    public static URL getUrl() {
        if (url == null) {
            url = new URL();
        }
        return url;
    }


    public final String HOST = "http://east.51tsbx.com";//线上服务器
//    public final String HOST = "http://bxht.51bpc.cn";//测试服务器

    public final String HOSTWEB = HOST + "/App/#/";

    //获取在线测试题
    public String GETTESTCONT = HOST + "/Api/classroom/gettestcont";
    //测试答题提交
    public String COMMITTESTCONT = HOST + "/Api/classroom/getScore";
    //获取所有地址信息
    public String GETCITYS = HOST + "/api/Product/areaInfo";
    //客户列表
    public String GETCUSTOMER = HOST + "/Api/Customer/index";
    //客户详情
    public String GETCUSTOMERDETAILS = HOST + "/Api/Customer/customerInfo";
    //获取个人信息
    public String GETPERSONALINFO = HOST + "/api/Person/info";
    //编辑个人信息
    public String UPDATEPERSONALINFO = HOST + "/api/Person/editinfo";
    //我的关注
    public String GETMYFOLLOW = HOST + "/api/MyOrder/favorite";
    //我的消息列表
    public String GETMESSAGES = HOST + "/Api/Message/index";
    //获取我的钱包信息
    public String GETWALLET = HOST + "/Api/Money/index";
    //获取我的银行卡信息
    public String GETBANKLIST = HOST + "/Api/Money/bankList";
    //当月收入列表
    public String MONTHLIST = HOST + "/Api/Money/monthList";
    //提现记录
    public String GETWITHDRAWS = HOST + "/Api/Money/withdrawList";
    //积分列表
    public String GETINTEGRS = HOST + "/api/Integr/getList";
    //当月收入明细
    public String GETMONTHLISTDETAIL = HOST + "/Api/Money/MonthDetail";
    //提现详情
    public String GETWITHDRAWETAIL = HOST + "/Api/Money/withdrawDetail";
    //删除银行卡
    public String DELBANK = HOST + "/Api/Money/delBank";
    //获取我的发布列表
    public String GETRELEASE = HOST + "/api/Person/FaBuetail";
    //发布
    public String SENDRELEASE = HOST + "/api/Person/index";
    //删除发布
    public String DELRELEASE = HOST + "/api/Person/DelBuetail";
    //业绩列表
    public String GETACHIEVEMENT = HOST + "/Api/Member/performance";
    //创客查询
    public String SELECTMAKER = HOST + "/api/Member/checkchuang";
    //门店管理
    public String GETSTOREMANAGE = HOST + "/api/Member/mengdianguanli";
    //申请门店
    public String APPLYSTORE = HOST + "/api/Member/askstores";
    //删除订单
    public String DELORDER = HOST + "/api/MyOrder/delOrder";
    //首期保单列表
    public String FIRSTPOLICY = HOST + "/Api/Insurance/index";
    //续期保单
    public String RENEWALPOLICY = HOST + "/Api/Insurance/indexre";
    //应收清单列表
    public String RECEIVABLE = HOST + "/Api/Insurance/indexreport";
    //登录
    public String LOGIN = HOST + "/Api/Member/login";
    //设置支付密码
    public String SETPAYPWD = HOST + "/Api/Member/setPayPassWord";
    //发送验证码
    public String SENDCODE = HOST + "/Api/Mobileverify/send";
    //获取地区数据
    public String GETAREA = HOST + "/Api/Product/areaInfo";

    //设置支付密码
    public String SETPAYPASSWORD = HOST + "/Api/Member/setPayPassWord";
    //保存客户信息
    public String SAVECUSTOMER = HOST + "/Api/classroom/EditCustomer";
    //工资列表
    public String GETSALARY = HOST + "/Api/Money/salaryClause";
    //工资条详情
    public String GETSALARYINFO = HOST + "/Api/Money/salaryClauseInfo";

    //添加银行卡
    public String ADDBANK = HOST + "/Api/Money/addBank";
    //    提现
    public String CASH = HOST + "/Api/Money/cash";
    //搜索客户
    public String GETCUSTOMERFORNAME = HOST + "/Api/Customer/searchCustomer";
    //删除客户管理详情
    public String DELCUSTOMER = HOST + "/api/Customer/delBuetail";
    //支付选择支付方式
    public String BUYOPT = HOST + "/Api/Product/buyopt";
    //用户修改手机号
    public String RELOGIN = HOST + "/api/Member/relogin";
    //添加客户
    public String ADDCUSTOMER = HOST + "/Api/Customer/addCustomer";
    //保单列表筛选供应商列表
    public String GETSUPPLIER = HOST + "/Api/Insurance/super";
    //修改登录密码或支付密码（李杨 登录密码修改验证验证码不需输入旧密码）
    public String UPDATEPASSWORD = HOST + "/Api/Member/updatePassWord";
    //修改登录密码（景 需输入旧密码）
    public String EDITPWD = HOST + "/Api/Member/editpwd";
    //验证验证码
    public String CHECKPHONE = HOST + "/api/CheckPayment/check";
    //修改头像
    public String UPDATEPHOTO = HOST + "/api/person/toPortrait";
    //验证身份证号
    public String VERIFICATIONCARD = HOST + "/Api/Member/checkId";
    //验证支付密码
    public String VERIFICATIONPAYPWD = HOST + "/Api/CheckPayment/index";
    //获取我的浏览
    public String GETMYBROWSE = HOST + "/api/BrowSing/index";
    //获取我的订单
    public String GETORDER = HOST + "/api/MyOrder/index";
    //确认提现
    public String CASHCONFIRM = HOST + "/Api/Money/cashConfirm";
    //获取微课堂列表
    public String CLASSROOMGETLIST = HOST + "/Api/classroom/getlists";
    //添加关注
    public String ADDFOLLOW = HOST + "/api/MyOrder/addFavorite";
    //取消关注
    public String DELFOLLOW = HOST + "/api/MyOrder/delFavorite";
    //验证支付密码接口
    public String CHECKPAYMENT_INDEX = HOST + "/Api/CheckPayment/index";
    //产品首页-产品及二级分类
    public String PRODUCT_INDEX = HOST + "/api/Product/index";
    //产品首页一级分类接口
    public String PRODUCT_TYPE = HOST + "/api/Product/productType";
    //在线留言
    public String LYFK = HOST + "/Api/classroom/leave_comments";
    //微课堂--类型列表
    public String WKT = HOST + "/Api/classroom/gettypelist";
    //首页轮播图接口
    public String BANNER_URL = HOST + "/Api/Index/selectAd";
    //首页 及 搜索接口
    public String HOME_URL = HOST + "/Api/Index/index";
    //注册registerhttp://bxht.51bpc.cn
    public String REGISTER_URL = HOST + "/Home/Login/regself";

    //众安产品接口
    public String ZHONGAN_URL = HOST + "/Api/product/goodlist";

    /**
     * 以上部分为php接口连接地址
     * 以下部分为web网页连接地址
     */

    //创客详情
    public String WEBMAKERDETAIL = HOSTWEB + "MakersDetail/";
    //关于我们
    public String WEBABOUTUS = HOSTWEB + "AboutUs";
    //业绩详情
    public String WEBACHIEVEMENTDETAIL = HOSTWEB + "MonthPerformance/";
    //长期服务奖
    public String WEBSERVICE = HOSTWEB + "Rewarding";
    //奖金系数
    public String WEBBONUS = HOSTWEB + "BonusFactor/";
    //规则
    public String WEBRULE = HOSTWEB + "BasicRule";
    //续期保单详情页
    public String WEBRENEWAL = HOSTWEB + "Renewal/";
    //首期保单详情页
    public String WEBGUARANTY = HOSTWEB + "guaranty/";
    //产品详情
    public String WEBPRODUCT = HOSTWEB + "product/";
    //常见问题
    public String COMMENPROBLEM = HOSTWEB + "CommonProblem";
    //微课堂详情页
    public String CLASSDETAILS = HOSTWEB + "video/";
}
